package edu.cdnu.pojo;
/**
 * 课程--班级 对应关系的 映射类
 * @author ASUS AsingZ
 */
public class CourseClassPojo {

	private Integer id;
	/**
	 * 课程Id
	 */
	private Integer courseId;
	/**
	 * 所属学院id
	 */
	private Integer departmentId;
	/**
	 * 所属专业
	 */
	private Integer subjectId;
	/**
	 * 所属班级
	 */
	private Integer classId;
	
	public CourseClassPojo() {
		super();
	}
	/**
	 * 带id
	 * @param id
	 * @param courseId
	 * @param departmentId
	 * @param subjectId
	 * @param classId
	 */
	public CourseClassPojo(Integer id, Integer courseId, Integer departmentId, Integer subjectId, Integer classId) {
		super();
		this.id = id;
		this.courseId = courseId;
		this.departmentId = departmentId;
		this.subjectId = subjectId;
		this.classId = classId;
	}
	/**
	 * 不带id
	 * @param courseId
	 * @param departmentId
	 * @param subjectId
	 * @param classId
	 */
	public CourseClassPojo(Integer courseId, Integer departmentId, Integer subjectId, Integer classId) {
		super();
		this.courseId = courseId;
		this.departmentId = departmentId;
		this.subjectId = subjectId;
		this.classId = classId;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getCourseId() {
		return courseId;
	}
	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}
	public Integer getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}
	public Integer getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}
	public Integer getClassId() {
		return classId;
	}
	public void setClassId(Integer classId) {
		this.classId = classId;
	}
	
	@Override
	public String toString() {
		return "CourseClassPojo [id=" + id + ", courseId=" + courseId + ", departmentId=" + departmentId
				+ ", subjectId=" + subjectId + ", classId=" + classId + "]";
	}
}
